<?php
/**
 * @TABLE "pet_featured"
 * @JOIN_FROM "pet_id < pet.id"
 * @JOIN_FROM "user_id < user.id"
 */
class BasePetFeatured extends Abstract_PluginEntityManager_Entity
{
	/**
	 * @PRIMARY
	 * @COLUMN "id"
	 * @TYPE "int"
	 * @LENGTH "10"
	 * @NOT_NULL
	 * @AUTO_INCREMENT
	 */
	public $id;

	/**
	 * @COLUMN "pet_id"
	 * @TYPE "int"
	 * @LENGTH "10"
	 * @NOT_NULL
	 */
	public $pet_id;

	/**
	 * @COLUMN "user_id"
	 * @TYPE "int"
	 * @LENGTH "10"
	 * @NOT_NULL
	 */
	public $user_id;

	/**
	 * @COLUMN "user_ip"
	 * @TYPE "varchar"
	 * @LENGTH "40"
	 * @NOT_NULL
	 */
	public $user_ip;

	/**
	 * @COLUMN "date_added"
	 * @TYPE "timestamp"
	 * @NOT_NULL
	 * @DEFAULT "CURRENT_TIMESTAMP"
	 */
	public $date_added;

	/**
	 * @COLUMN "status"
	 * @TYPE "enum"
	 * @LENGTH "'visible','deleted'"
	 * @NOT_NULL
	 * @DEFAULT "visible"
	 */
	public $status;
}
?>